<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Activity extends Model {

    protected $table = 'activity';
    protected $guarded = ['id'];

    public function getArea(){
        return $this->hasMany('App\Models\Area','activity_id','id');
    }
}
